package com.jic.market.request.rest.realtimeprice;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * description: RealTimePriceRequest
 * date: 2020/4/10 10:25
 * author: wangys
 * version: 1.0
 */
@Data
@Accessors(chain = true)
@ApiModel("获取实时价格实体类")
public class RealTimePriceRequest {

    @ApiModelProperty(notes = "活动编码")
    private String promotionCode;

    @ApiModelProperty(notes = "第三方商品编码集合")
    @NotNull(message = "商品编码集合非空")
    private List<String> thirdProductCodes;

    @ApiModelProperty(notes = "产品类型 spu:10 sku:20")
    private Integer productType;

    @ApiModelProperty(notes = "第三方用户id")
    private String thirdUserId;

    @ApiModelProperty(notes = "渠道")
    private String channelCode;

}
